<?php

/**
 * 
 * @author Youssef Driouach
 *
 */
class Application_Model_Computer extends Application_Model_Product
{
	protected $_computerId;
	protected $_processor;
	protected $_ram;
	protected $_hdd;
	protected $_videocard;
	protected $_os;
	
	
	public function getAttribs()
	{
		$attribs = array(
				'name'				=> $this->getName(),
				'description'		=> $this->getDescription(),
				'url'				=> $this->getUrl(),
				'images'			=> $this->getImages(),
				'model'				=> $this->getModel(),
				'brand'				=> $this->getBrand(),
				'processor'			=> $this->getProcessor(),
				'ram'				=> $this->getRam(),
				'hdd'				=> $this->getHdd(),
				'videocard'			=> $this->getVideocard(),
				'os'				=> $this->getOs(),
		);
		return $attribs;
	}
	
	/**
	 * @return the $_computerId
	 */
	public function getComputerId() {
		return $this->_computerId;
	}

	/**
	 * @return the $_processor
	 */
	public function getProcessor() {
		return $this->_processor;
	}

	/**
	 * @return the $_ram
	 */
	public function getRam() {
		return $this->_ram;
	}


	/**
	 * @return the $_videocard
	 */
	public function getVideocard() {
		return $this->_videocard;
	}

	/**
	 * @return the $_os
	 */
	public function getOs() {
		return $this->_os;
	}

	/**
	 * @param field_type $_computerId
	 */
	public function setComputerId($_computerId) {
		$this->_computerId = $_computerId;
	}

	/**
	 * @param field_type $_processor
	 */
	public function setProcessor($_processor) {
		$this->_processor = $_processor;
	}

	/**
	 * @param field_type $_ram
	 */
	public function setRam($_ram) {
		$this->_ram = $_ram;
	}


	/**
	 * @return the $_hdd
	 */
	public function getHdd() {
		return $this->_hdd;
	}

	/**
	 * @param field_type $_hdd
	 */
	public function setHdd($_hdd) {
		$this->_hdd = $_hdd;
	}

	/**
	 * @param field_type $_videocard
	 */
	public function setVideocard($_videocard) {
		$this->_videocard = $_videocard;
	}

	/**
	 * @param field_type $_os
	 */
	public function setOs($_os) {
		$this->_os = $_os;
	}

	
	
	
}